package com.fqyd.campustransaction.mapper;

import com.fqyd.campustransaction.model.Cart;
import com.fqyd.campustransaction.model.CartExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CartMapper {
    /**
     *
     * @mbggenerated
     */
    int countByExample(CartExample example);

    /**
     *
     * @mbggenerated
     */
    int deleteByExample(CartExample example);

    /**
     *
     * @mbggenerated
     */
    int deleteByPrimaryKey(String id);

    /**
     *
     * @mbggenerated
     */
    int insert(Cart record);

    /**
     *
     * @mbggenerated
     */
    int insertSelective(Cart record);

    /**
     *
     * @mbggenerated
     */
    List<Cart> selectByExample(CartExample example);

    /**
     *
     * @mbggenerated
     */
    Cart selectByPrimaryKey(String id);

    /**
     *
     * @mbggenerated
     */
    int updateByExampleSelective(@Param("record") Cart record, @Param("example") CartExample example);

    /**
     *
     * @mbggenerated
     */
    int updateByExample(@Param("record") Cart record, @Param("example") CartExample example);

    /**
     *
     * @mbggenerated
     */
    int updateByPrimaryKeySelective(Cart record);

    /**
     *
     * @mbggenerated
     */
    int updateByPrimaryKey(Cart record);
}